package timberman.utils;


import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import timberman.character.GameInfo;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Preferences;

public class Utils {

		public static String getDefaultManType(){
			return null;
		}
		
		public static Map<String, String> getAllSettings(){
			Map<String, String> Settings = new HashMap<String, String>();
			Preferences preferences = Gdx.app.getPreferences(GameInfo.PREFERENCES_NAME);
			Iterator<String> settingName = preferences.get().keySet().iterator();
			while(settingName.hasNext()){
				String key = settingName.next();
				String value = preferences.getString(key);
				Settings.put(key, value);
			}
			return Settings;
		}
		
}
